package cn.drew.house.mapper;



import cn.drew.house.domain.HousingInformation;
import cn.drew.house.query.HousingInformationQuery;

import java.util.List;


public interface HousingInformationMapper {
    //添加
    void add(HousingInformation housingInformation);
    //修改
    void update(HousingInformation housingInformation);
    //删除
    void delete(Long id);
    //查找一个
    HousingInformation findById(Long id);
    //查找所有
    List<HousingInformation> findAll();
    //分页条数
    Integer queryByCount(HousingInformationQuery housingInformationQuery);
    //分页查找数据
    List<HousingInformation> queryByPage(HousingInformationQuery housingInformationQuery);

    void patchDelete(List<Long> ids);
}
